#ifndef ML_PREVIEW_RENDER_H
#define ML_PREVIEW_RENDER_H
#include "MLObj.h"
#include "MLProgressbar.h"

class MLPreviewRender {
public:
	MLPreviewRender(
		const std::string output_path,
		double frame_rate,
		int frame_size_x,
		int frame_size_y,
		double target_secs,
		double particles_lifespan_max
	);

	void render(std::vector<MLObj*>& objects, int particles_location);

private:
	std::string _output_path;
	int _target_frame_count;
	int _start_frame_count;
	int _frame_size_x;
	int _frame_size_y;
};

#endif
